{
	TileViewer.setTileCreator(function ()
	{
		var tile = {
			"container" : $("<div></div>")			
		};
		return tile;
	});
	
	var colors = ["Red","Green","Blue","Yellow","Pink","Purple"];
	TileViewer.setTileUpdator(function(tile, info, callback)
	{
		var color = (info && info.length > 0) ? info.charCodeAt(0) : 0;
		color = color % colors.length;
		tile.container.html("<div style='font-size:small;position:absolute;width:100%;height:100%;background-color:"+colors[color]+"'>"+colors[color]+"</div>");
		callback();
	});
	
	TileViewer.setConfigHandler(function(config, internalConfigInterface)
	{
		//do nothing
	});
}